package com.zhida.common.entity;

import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * Create by zhh 2024/7/17 10:19
 */
@Setter
@Getter
@Data
@NoArgsConstructor
public class AllMessage implements Serializable {
    private String from;
    private String time;
    private String msg;

    public AllMessage(String time, String msg){
        this.time = time;
        this.msg = msg;
    }

    public AllMessage(String from, String time, String msg) {
        this.from = from;
        this.time = time;
        this.msg = msg;
    }
}

